// 网格计算Worker
self.onmessage = function(e) {
  const { grids, gridLevel, isIsolationMode } = e.data;
  
  // 处理网格数据
  const processedGrids = grids.map(grid => {
    return {
      ...grid,
      processed: true
    };
  });

  // 返回处理后的数据
  self.postMessage({
    grids: processedGrids
  });
}; 